﻿
USE [master]
GO

/****** Object:  Database [HospAgentDB]    Script Date: 10/30/2017 11:18:30 ******/
CREATE DATABASE [HospAgentDB] ON  PRIMARY 
( NAME = N'HospAgentDB', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\HospAgentDB.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'HospAgentDB_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\HospAgentDB_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO

ALTER DATABASE [HospAgentDB] SET COMPATIBILITY_LEVEL = 100
GO

IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [HospAgentDB].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO

ALTER DATABASE [HospAgentDB] SET ANSI_NULL_DEFAULT OFF
GO

ALTER DATABASE [HospAgentDB] SET ANSI_NULLS OFF
GO

ALTER DATABASE [HospAgentDB] SET ANSI_PADDING OFF
GO

ALTER DATABASE [HospAgentDB] SET ANSI_WARNINGS OFF
GO

ALTER DATABASE [HospAgentDB] SET ARITHABORT OFF
GO

ALTER DATABASE [HospAgentDB] SET AUTO_CLOSE OFF
GO

ALTER DATABASE [HospAgentDB] SET AUTO_CREATE_STATISTICS ON
GO

ALTER DATABASE [HospAgentDB] SET AUTO_SHRINK OFF
GO

ALTER DATABASE [HospAgentDB] SET AUTO_UPDATE_STATISTICS ON
GO

ALTER DATABASE [HospAgentDB] SET CURSOR_CLOSE_ON_COMMIT OFF
GO

ALTER DATABASE [HospAgentDB] SET CURSOR_DEFAULT  GLOBAL
GO

ALTER DATABASE [HospAgentDB] SET CONCAT_NULL_YIELDS_NULL OFF
GO

ALTER DATABASE [HospAgentDB] SET NUMERIC_ROUNDABORT OFF
GO

ALTER DATABASE [HospAgentDB] SET QUOTED_IDENTIFIER OFF
GO

ALTER DATABASE [HospAgentDB] SET RECURSIVE_TRIGGERS OFF
GO

ALTER DATABASE [HospAgentDB] SET  DISABLE_BROKER
GO

ALTER DATABASE [HospAgentDB] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO

ALTER DATABASE [HospAgentDB] SET DATE_CORRELATION_OPTIMIZATION OFF
GO

ALTER DATABASE [HospAgentDB] SET TRUSTWORTHY OFF
GO

ALTER DATABASE [HospAgentDB] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO

ALTER DATABASE [HospAgentDB] SET PARAMETERIZATION SIMPLE
GO

ALTER DATABASE [HospAgentDB] SET READ_COMMITTED_SNAPSHOT OFF
GO

ALTER DATABASE [HospAgentDB] SET HONOR_BROKER_PRIORITY OFF
GO

ALTER DATABASE [HospAgentDB] SET  READ_WRITE
GO

ALTER DATABASE [HospAgentDB] SET RECOVERY FULL
GO

ALTER DATABASE [HospAgentDB] SET  MULTI_USER
GO

ALTER DATABASE [HospAgentDB] SET PAGE_VERIFY CHECKSUM
GO

ALTER DATABASE [HospAgentDB] SET DB_CHAINING OFF
GO

EXEC sys.sp_db_vardecimal_storage_format N'HospAgentDB', N'ON'
GO

USE [HospAgentDB]
GO

/****** Object:  Table [dbo].[PayInfo]    Script Date: 10/30/2017 11:18:32 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

/****** Object:  Table [dbo].[Notify]    Script Date: 10/30/2017 11:18:32 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

/****** Object:  Table [dbo].[Log]    Script Date: 10/30/2017 11:18:32 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

/****** Object:  Table [dbo].[BillInfo]    Script Date: 10/30/2017 11:18:32 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO
